<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2021/2/3
  Time: 10:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>

</head>
<body>
<h3>文件上传</h3>
<form action="/file/up" method="post" enctype="multipart/form-data">
    选择文件:<input type="file" name="upload"><br/>
    <input type="submit" value="上传">
</form>

<h3>mvc文件上传</h3>
<form action="/file/mvcup" method="post" enctype="multipart/form-data">
    选择文件:<input type="file" name="upload"><br/>
    <input type="submit" value="上传">
</form>
<h3>跨服务器文件上传</h3>
<form action="/file/tomcatupload" method="post" enctype="multipart/form-data">
    选择文件:<input type="file" name="upload"><br/>
    <input type="submit" value="上传">
</form>

</body>
</html>
